<template>
	<div id="app"><router-view /></div>
</template>
<script>
export default {
	created() {
		this.$getQuery('corp_id') ? localStorage.setItem('huankemao_corp_id', this.$getQuery('corp_id')) : '';
		this.$getQuery('app_id') ? localStorage.setItem('huankemao_app_id', this.$getQuery('app_id')) : '';
		if (this.$getQuery('state')) {
			location.href = location.href.split('#')[0] + '#/' + this.$getQuery('state');
		}
	}
};
</script>
